package me.keiwu.user.service;

import me.keiwu.pub.data.service.MiscKey;
import me.keiwu.pub.data.service.UserMiscBean;

/**
 * Created by kei on 08/12/2017.
 */
public interface UserMiscService {


    /**
     * 保存key
     * @param userId
     * @param key
     */
    void save(Long userId, MiscKey key, String value);


    /**
     * get key
     * @param userId
     * @param key
     * @return
     */
    UserMiscBean get(Long userId, MiscKey key);

}
